import ReactDOM from 'react-dom/client'
import { Provider } from 'react-redux'
import App from './App'
import store from './store'

const root = ReactDOM.createRoot(document.querySelector('#root'))
// !#1 引入 Provider 组件，并传入 store 对象
root.render(
  <Provider store={store}>
    <App />
  </Provider>
)
